/*版心*/
.container {
    width: 1240px;
    margin: 0 auto;
}

/*header*/
header {

}

/*快捷菜单*/
.xtx_shortcut {
    height: 52px;
    background-color: #333;
}

.xtx_shortcut .container {
    height: 52px;
}

.xtx_shortcut ul li {
    float: left;
    line-height: 52px;
    text-align: center;
    color: #666;
}

.xtx_shortcut ul li a {
    margin-left: 16px;
    margin-right: 16px;
    font-size: 14px;
    color: #dcdcdc;
}

.xtx_shortcut ul li:last-child a {
    margin-right: 0;
}

.xtx_shortcut ul li:last-child a::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 16px;
    background-color: orange;
    vertical-align: middle;
    margin-right: 4px;
    margin-top: -4px;

}

/*主导航*/
.xtx_nav {
    height: 130px;
    box-shadow: 1px 2px 5px #333333;
}

.xtx_nav .container {
    height: 130px;
    background-color: aliceblue;
    padding-top: 30px;
    box-sizing: border-box;
}

.xtx_nav .logo{
    width: 207px;
    height: 70px;
    margin-left: 25px;
}

.xtx_nav .logo a {
    display: block;
    width: 207px;
    height: 70px;
    background-image: url("https://img10.360buyimg.com/img/jfs/t1/137458/22/20884/367319/61d7e10cE227befe9/7472fc868c0088dc.gif");
    background-size: 100%;
    font-size: 0;
}

.xtx_nav nav{
    margin-left: 40px;
}

.xtx_nav nav li{
    float: left;
    margin-right: 48px;
    height: 70px;
    line-height: 70px;
}

.xtx_nav nav li a {
    padding-bottom: 7px;
}

.xtx_nav nav li a:hover {
    color: darkturquoise;
    border-bottom: 2px solid darkturquoise;
}

.xtx_nav .search{
    position: relative;
    top:2px;
    width: 172px;
    height: 30px;
    margin-top: 18px;
    margin-left: 34px;

}

.xtx_nav .search::before{
    content: '';
    position: absolute;
    display: block;
    width: 18px;
    height: 18px;
    background-color: orange;
}

.xtx_nav .search input{
    width: 172px;
    height: 30px;
    padding-left: 31px;
    border-bottom: 2px solid #e7e7e7;
    box-sizing: border-box;
}

.xtx_nav .cart{
    position: relative;
    width: 23px;
    height: 23px;
    margin-top: 25px;
    margin-left: 12px;
    background-color: gray;
}

.xtx_nav .cart span{
    position: absolute;
    top:-5px;
    right: -12px;
    width: 20px;
    height: 15px;
    background-color: red;
    color: white;
    font-size: 12px;
    text-align: center;
    line-height: 15px;
    border-radius: 8px;
}
